package com.test.deencredit.bean_deencredit.config_deencredit;

import android.text.TextUtils;

import com.google.gson.Gson;


public class AppShowLoginInfo_deencredit {

    private AppShowLoginInfo_deencredit() {}

    public static AppShowLoginInfo_deencredit getInstance(String jsonStr) {
        return new Gson().fromJson(jsonStr, AppShowLoginInfo_deencredit.class);
    }

    //参数
    private String minAmount;//最小额度
    private String maxAmount;//最大额度
    private String amountGranularity;//额度滑动条颗粒度
    private String interestRate;//登录页显示费率
    private String interestRateCycle;//登录页显示的费率周期文案，如"(per annual)"

    public String getAmountGranularity_deencredit() {
        if (TextUtils.isEmpty(amountGranularity)) return "";
        return amountGranularity;
    }

    public String getMinAmount_deencredit() {
        if (TextUtils.isEmpty(minAmount)) return "";
        return minAmount;
    }

    public String getMaxAmount_deencredit() {
        if (TextUtils.isEmpty(maxAmount)) return "";
        return maxAmount;
    }

    public String getInterestRate_deencredit() {
        if (TextUtils.isEmpty(interestRate)) return "";
        return interestRate;
    }

    public String getInterestRateCycle_deencredit() {
        if (TextUtils.isEmpty(interestRateCycle)) return "";
        return interestRateCycle;
    }
}
